package cn.da.shuai.cool.system.model.enums.role;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 角色状态枚举
 */
@AllArgsConstructor
@Getter
public enum RoleStatusType {
    NORMAL(1, "正常"),
    DISABLED(2, "停用"),
    DELETED(3, "删除");

    @EnumValue
    @JsonValue
    private final int value;
    private final String desc;
}